#include "../../include/bean/uuidcreater.h"

UuidCreater::UuidCreater()
{
}

UuidCreater::~UuidCreater()
{
}

std::string UuidCreater::createUuid()
{
    char new_uuid[37] = {0};
    uuid_t _uuid;
    uuid_generate(_uuid);
    uuid_unparse(_uuid, new_uuid);
    return std::string(new_uuid);
}